﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="TakeATest.aspx.cs" Inherits="Student_TakeATest" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<style type="text/css">
    .assesmentName
    {
        display: block;
        background-color: #345678;
        color: #ddd;
        padding: 3px;
        text-transform: capitalize;
        font-size: 16px;
    }
    .assessmentId
    {
       display: none;   
    }
    #questionId
    {
        display: none;
    }
    #assessment #date
    {
        display: none;
    }
    .question_true_false .choiceList
    {
        list-style-type: none;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h3>
        Student: 
        Take A Test Page</h3>
    Select a test: &nbsp;<asp:DropDownList ID="ddListTestNumbers" runat="server" DataSourceID="SqlDataSource1"
        DataTextField="Title" DataValueField="Id">
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dbConnectionString %>"
        SelectCommand="SELECT [Title], [Id] FROM [Assessments]"></asp:SqlDataSource>
    <asp:Button ID="btnTakeTest" runat="server" OnClick="btnTakeTest_Click" Text="Take Test" />
    <br />
    &nbsp;<asp:Label ID="fetchedTestLabel" runat="server"></asp:Label>
    <br />
    <asp:Button ID="btnSubmitTest" runat="server" OnClick="btnSubmitTest_Click" Text="Submit Test"
        Visible="False" />
</asp:Content>

